<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:iterator value="#request.employeeinfoFamilies" var="fam" status="famsta">
    <div class="message warning" id="fam_${fam.id}">

        <div style="float:right;" id="fam_btn_${fam.id}"><a class="button"
                                                            href="javascript:famModify(${fam.id})"><span
                style="background:url(${ctx}/images/img/page_edit.png)" class="icon">&nbsp;</span>修改</a>
            <a class="button" href="javascript:famDelete(${fam.id})"><span
                    style="background:url(${ctx}/images/img/delete.png)"
                    class="icon">&nbsp;</span>删除</a></div>
        <h3>家庭情况#${famsta.index+1}</h3>

        <div>
            <p>家庭关系：<span id="modify_fam_familyrelation_${fam.id}">${fam.familyRelation}</span></p>

            <p>紧急联系人：<span id="modify_fam_exigenceconname_${fam.id}">${fam.exigenceConname}</span></p>

            <p>工作单位：<span id="modify_fam_compname_${fam.id}">${fam.compname}</span></p>

            <p>紧系联系人关系：<span id="modify_fam_exigencerelation_${fam.id}">${fam.exigenceRelation}</span></p>

            <p>姓名：<span id="modify_fam_name_${fam.id}">${fam.name}</span></p>

            <p>紧急联系人电话：<span id="modify_fam_contel_${fam.id}">${fam.contel}</span></p>

            <p>住宅地址：<span id="modify_fam_address_${fam.id}">${fam.address}</span></p>

        </div>
    </div>
</s:iterator>